﻿using System.Data.Entity;

namespace StoreDemo.Data.Repository
{
    internal class DatabaseInitializer : IDatabaseInitializer<StoreDemoDatabaseContext>
    {
        #region Implementation of IDatabaseInitializer<in StoreDemoDatabaseContext>

        public void InitializeDatabase(StoreDemoDatabaseContext context)
        {
            if(context.Database.CreateIfNotExists())
            {
            }
        }

        #endregion
    }
}